package com.zoozoopet.zoo;

public class ZooConsole
{
	public static void main(String[] args)
	{
		Zoo zoo = new Zoo();
		zoo.addAnimal(new Lion());
		zoo.addAnimal(new Bird());
		zoo.addAnimal(new Duck());
		zoo.addAnimal(new Elephant());

		for (Animal _animal : zoo.getAllAnimals())
		{
			System.out.println(_animal.speak());
		}
	}
}
